<?php

/**
 * @Date:   2021-12-10 18:20:48
 * @Email:  ligui0506@126.com
 * @Author: wuchenge
 */
namespace App\Http\Controllers;

use App\Models\User;
use Illuminate\Support\Facades\Cache;
use View;

class IndexController extends Controller
{
    /**
     * @return int
     */
    public function index()
    {
        View::addExtension('html', 'php');

        return view()->file(public_path() . '/index.html');

    }

    public function admin()
    {
        View::addExtension('html', 'php');

        return view()->file(public_path() . '/admin.html');

    }
}
